package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.OverflowList;
import com.atguigu.jxc.entity.OverflowListGoods;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author dyqstart
 * @create 2021-09-04-20:32
 * @since 1.0.0
 */
@Mapper
public interface OverFlowDao {

    void saveOverFlowList(@Param("overflowList") OverflowList overflowList);

    void saveOverFlowListGoods(@Param("overflowListGoods") OverflowListGoods overflowListGoods);

    List<OverflowList> getOverflowListGoods(@Param("sTime") String sTime, @Param("eTime") String eTime);

    List<OverflowListGoods> getOverflowListGoodsByOverflowListId(@Param("overflowListId") Integer overflowListId);
}
